Python的路徑引用 1、以HOME目錄為准,進行跳轉 sys.path.append(os.path.dirname(__file__) + os.sep + '../') from config import ...